package com.ljx.api.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ljx.common.eneity.BaseEntity;
import lombok.Data;

/**
 * @类名: User
 * @描述:
 * @日期: 2020-09-02 11:17
 * @作者: 刘纪譞
 * @版本: 1.0.0
 * <p>
 * since JDK 1.8
 **/
@Data
@TableName("user")
public class User extends BaseEntity {
    private String username;
    private String password;
    @TableField(value="real_name")
    private String realName;
    @TableField(value="role_id")
    private Long roleId;
    private Byte job;
    private Byte department;
    private Byte level;
}
